﻿using ZilLion.TaskManager.Entity.Entity;
using ZilLion.TaskManager.Entity.Response;

namespace ZilLion.TaskManager.Repository
{
    public interface ITaskModuleConfigRespository
    {
        TaskModuleConfigResponse GetTaskModuleConfig();

        /// <summary>
        ///     上传包文件
        /// </summary>
        /// <param name="filepath"></param>
        /// <returns></returns>
        UploadTaskPackageResponse UpLoadPackageFile(string filepath);

        bool SaveTaskModuleConfig(TaskModuleConfigEntity entity);

        TaskModuleConfigResponse GetTaskModuleConfigById(string moduleid);
    }
}